#ifndef __BMP180_H
#define __BMP180_H 			   
#include "ti_msp_dl_config.h"
#include "delay.h"

#define	BMP085_SlaveAddress   0xee                        

#define OSS 0	// Oversampling Setting (note: code is not set up to use other OSS values)
							   
typedef unsigned char  BYTE;
typedef unsigned short WORD;


#define BMP_SCL_Clr()  DL_GPIO_clearPins(GPIO_SCL_PORT,GPIO_SCL_PIN_0_PIN)
#define BMP_SCL_Set()  DL_GPIO_setPins(GPIO_SCL_PORT,GPIO_SCL_PIN_0_PIN)


#define BMP_SDA_Clr()  DL_GPIO_clearPins(GPIO_SDA_PORT,GPIO_SDA_PIN_1_PIN )
#define BMP_SDA_Set()  DL_GPIO_setPins(GPIO_SDA_PORT,GPIO_SDA_PIN_1_PIN)

void Init_BMP085();
void conversion(long temp_data);
long bmp085Convert_temp();
long bmp085Convert_press();

#endif